package com.qidian.mes.machine.service;

import com.qidian.common.pojo.MESResult;
import com.qidian.mes.pojo.Ledger;

/**
 * @Author 任超
 * Time 2024/10/17 13:40
 */
public interface MachineLedgerService {
    MESResult selectList(Ledger ledger,int page,int limit);

    MESResult addLedger(Ledger ledger);

    MESResult updateLedger(Ledger ledger);

    MESResult selectById(Long machineId);

    MESResult updateLedgerStatus(Long machineId);

    MESResult selectByDelete(int status);

    MESResult updateByDelete(Long machineId);

    MESResult selectByCode(String machineCode);

    MESResult selectWorkshop(Long workshopId);
}
